package com.xdtech.hotel.service;

import java.util.List;

import com.xdtech.common.service.IBaseService;
import com.xdtech.hotel.model.LinkageConfig;
import com.xdtech.hotel.vo.LinkageConfigItem;

/**
 * 
 * @author max.zheng
 * @create 2015-04-23 20:46:32
 * @since 1.0
 * @see
 */
public interface LinkageConfigService extends IBaseService<LinkageConfig>{

	/**
	 * 保存更新信息
	 * @author max.zheng
	 * @create 2015-04-23 20:46:32
	 * @modified by
	 * @param item
	 * @return
	 */
	boolean saveOrUpdateLinkageConfig(LinkageConfigItem item);

	/**
	 * 加载记录信息
	 * @author max.zheng
	 * @create 2015-04-23 20:46:32
	 * @modified by
	 * @param newId
	 * @return
	 */
	LinkageConfigItem loadLinkageConfigItem(Long linkageConfigId);

	/**
	 * 根据id号删除记录信息
	 * @author max.zheng
	 * @create 2015-04-23 20:46:32
	 * @modified by
	 * @param id
	 * @return
	 */
	boolean deleteLinkageConfigInfo(long id);

	/**
	 * 
	 * @author max.zheng
	 * @create 2015-04-23 20:46:32
	 * @modified by
	 * @param linkageConfigIds
	 */
	boolean deleteLinkageConfigInfo(List<Long> linkageConfigIds);
	
	/**
	 * 加载vo列表条目
	 * @author max.zheng
	 * @create 2015-04-23 20:46:32
	 * @modified by
	 * @return
	 */
	List<LinkageConfigItem> loadItems();
}
